package controller;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import util.ConsUtil;
import util.ConsUtil.Operacao;

@ManagedBean(name = "consUtilController")
@RequestScoped
public class ConsUtilController {

    public Operacao getOperacaoCONSULTAR() {
        return ConsUtil.Operacao.CONSULTAR;
    }

    public Operacao getOperacaoNOVO() {
        return ConsUtil.Operacao.NOVO;
    }

    public Operacao getOperacaoALTERAR() {
        return ConsUtil.Operacao.ALTERAR;
    }

    public Operacao getOperacaoEXCLUIR() {
        return ConsUtil.Operacao.EXCLUIR;
    }
}
